package com.zyx.file;

import java.io.File;
import java.io.FilenameFilter;

public class MyFile implements FilenameFilter {
    @Override
    public boolean accept(File dir, String name) {
        if(name.endsWith(".wmv")){
            return true;
        }else{
            return false;
        }
    }
}
